package com.example.idachuappone.cook.entity;

import java.io.Serializable;

public class WorkDay implements Serializable {
    private String date;
    private String[] hh;

    public WorkDay parseJson(String json) {
        if (json == null) {
            return null;
        }
        if (json.trim().length() == 0) {
            return null;
        }
        this.hh = json.split(",");
        return this;
    }

    public WorkDay(String date) {
        this.date = date;
    }

    public String getDate() {
        return this.date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String[] getHh() {
        return this.hh;
    }

    public void setHh(String[] hh) {
        this.hh = hh;
    }
}
